<template>
  <div>孙子组件</div>
  <ul>
    <li>
      {{ count }}
    </li>
  </ul>
</template>
<script>
import { inject } from 'vue'
export default {
  setup () {
    const count = inject('count1')
    return { count }
  }
}
</script>
<style lang="scss" scoped>
</style>
